package com.demo7;

public class AnimalOperator {
    public void useAnimal(Animals a){
        a.eat();
    }


    public Animals getAnimal(){
        Animals a = new Cat();

        return a;
    }

}
